package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 跟踪日志对象 WORK_LOG
 * 
 * @author ZYT
 * @date 2020-08-31
 */
public class WorkLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long workId;

    /** 作业名称 */
    @Excel(name = "日志类型")
    private String workName;

    /** 条码编号 */
    @Excel(name = "条码编号")
    private String contNo;

    /** mCONT_NO */
//    @Excel(name = "mCONT_NO")
    private String mcontNo;

    /** wellenCode */
//    @Excel(name = "wellenCode")
    private String wellencode;

    /** 目的地 */
    @Excel(name = "实际目的地")
    private String curPos;

    /** 间距5 */
    @Excel(name = "WMS分配目的地")
    private String plcStataid5;

    /** BCR编号 */
    @Excel(name = "BCR编号")
    private String bcr;

    /** 跟踪状态 */
    @Excel(name = "分拣状态")
    private String fjzht;

    /** 箱长 */
    @Excel(name = "包裹号")
    private String plcStataid;

    /** 间距1 */
    @Excel(name = "间距")
    private String plcStataid1;


    /** 间距2 */
    @Excel(name = "WMS响应码")
    private String plcStataid2;

    /** 间距3 */
    @Excel(name = "WMS响应时间")
    private String plcStataid3;

    /** 间距4 */
    @Excel(name = "整体耗时")
    private String plcStataid4;

    /** 重量(Kg) */
    @Excel(name = "重量(Kg)")
    private String weight;

    /** 执行函数 */
    @Excel(name = "执行函数")
    private String workProc;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creaTime;











    private String workCode;

    /** 执行信息 */
//    @Excel(name = "执行信息")
    private String workMsg;



//    @Excel(name = "整体响应时间")
    private Long workSec;


//    @Excel(name = "post响应数据")
    private String workPerNo;

    /** WORK_PER */
//    @Excel(name = "分拣结果")
    private String workPerName;



    /** work_no */
//    @Excel(name = "work_no")
    private String workNo;



    /** 执行代码 */
//    @Excel(name = "执行代码")
    private String workRev;









    public void setWorkId(Long workId) 
    {
        this.workId = workId;
    }

    public Long getWorkId() 
    {
        return workId;
    }
    public void setWorkName(String workName) 
    {
        this.workName = workName;
    }

    public String getWorkName() 
    {
        return workName;
    }
    public void setContNo(String contNo) 
    {
        this.contNo = contNo;
    }

    public String getContNo() 
    {
        return contNo;
    }
    public void setMcontNo(String mcontNo) 
    {
        this.mcontNo = mcontNo;
    }

    public String getMcontNo() 
    {
        return mcontNo;
    }
    public void setWellencode(String wellencode) 
    {
        this.wellencode = wellencode;
    }

    public String getWellencode() 
    {
        return wellencode;
    }
    public void setCurPos(String curPos) 
    {
        this.curPos = curPos;
    }

    public String getCurPos() 
    {
        return curPos;
    }
    public void setWorkCode(String workCode) 
    {
        this.workCode = workCode;
    }

    public String getWorkCode() 
    {
        return workCode;
    }
    public void setWorkMsg(String workMsg) 
    {
        this.workMsg = workMsg;
    }

    public String getWorkMsg() 
    {
        return workMsg;
    }
    public void setWorkProc(String workProc) 
    {
        this.workProc = workProc;
    }

    public String getWorkProc() 
    {
        return workProc;
    }
    public void setCreaTime(Date creaTime) 
    {
        this.creaTime = creaTime;
    }

    public Date getCreaTime() 
    {
        return creaTime;
    }
    public void setWorkSec(Long workSec) 
    {
        this.workSec = workSec;
    }

    public Long getWorkSec() 
    {
        return workSec;
    }
    public void setWorkPerNo(String workPerNo) 
    {
        this.workPerNo = workPerNo;
    }

    public String getWorkPerNo() 
    {
        return workPerNo;
    }
    public void setWorkPerName(String workPerName) 
    {
        this.workPerName = workPerName;
    }

    public String getWorkPerName() 
    {
        return workPerName;
    }
    public void setFjzht(String fjzht) 
    {
        this.fjzht = fjzht;
    }

    public String getFjzht() 
    {
        return fjzht;
    }
    public void setBcr(String bcr) 
    {
        this.bcr = bcr;
    }

    public String getBcr() 
    {
        return bcr;
    }
    public void setWorkNo(String workNo) 
    {
        this.workNo = workNo;
    }

    public String getWorkNo() 
    {
        return workNo;
    }
    public void setWeight(String weight) 
    {
        this.weight = weight;
    }

    public String getWeight() 
    {
        return weight;
    }
    public void setWorkRev(String workRev) 
    {
        this.workRev = workRev;
    }

    public String getWorkRev() 
    {
        return workRev;
    }

    public void setPlcStataid(String plcStataid)
    {
        this.plcStataid = plcStataid;
    }

    public String getPlcStataid()
    {
        return plcStataid;
    }
    public void setPlcStataid1(String plcStataid1)
    {
        this.plcStataid1 = plcStataid1;
    }

    public String getPlcStataid1()
    {
        return plcStataid1;
    }
    public void setPlcStataid2(String plcStataid2)
    {
        this.plcStataid2 = plcStataid2;
    }

    public String getPlcStataid2()
    {
        return plcStataid2;
    }
    public void setPlcStataid3(String plcStataid3)
    {
        this.plcStataid3 = plcStataid3;
    }

    public String getPlcStataid3()
    {
        return plcStataid3;
    }
    public void setPlcStataid4(String plcStataid4)
    {
        this.plcStataid4 = plcStataid4;
    }

    public String getPlcStataid4()
    {
        return plcStataid4;
    }
    public void setPlcStataid5(String plcStataid5)
    {
        this.plcStataid5 = plcStataid5;
    }

    public String getPlcStataid5()
    {
        return plcStataid5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workId", getWorkId())
            .append("workName", getWorkName())
            .append("contNo", getContNo())
            .append("mcontNo", getMcontNo())
            .append("wellencode", getWellencode())
            .append("curPos", getCurPos())
            .append("workCode", getWorkCode())
            .append("workMsg", getWorkMsg())
            .append("workProc", getWorkProc())
            .append("creaTime", getCreaTime())
            .append("workSec", getWorkSec())
            .append("workPerNo", getWorkPerNo())
            .append("workPerName", getWorkPerName())
            .append("fjzht", getFjzht())
            .append("bcr", getBcr())
            .append("workNo", getWorkNo())
            .append("weight", getWeight())
            .append("workRev", getWorkRev())
            .append("plcStataid", getPlcStataid())
            .append("plcStataid1", getPlcStataid1())
            .append("plcStataid2", getPlcStataid2())
            .append("plcStataid3", getPlcStataid3())
            .append("plcStataid4", getPlcStataid4())
            .append("plcStataid5", getPlcStataid5())

                .append("readSum", getReadSum())
                .append("readSuccess", getReadSuccess())
                .append("noRead", getNoRead())
                .append("readRate", getReadRate())
                .append("sum", getSum())
                .append("hours", getHours())
                .append("amount", getAmount())
            .toString();
    }

//    @Excel(name = "总数")
    private String readSum;    //读码率汇总功能  总数
//    @Excel(name = "成功数量")
    private String readSuccess;  //读码率汇总功能  成功
//    @Excel(name = "失败数量")
    private String noRead;      //读码率汇总功能  失败
//    @Excel(name = "读码率")
    private String readRate;    //读码率汇总功能  读码率
//    @Excel(name = "分拣总数量")
    private String sum;  //出口分拣统计功能 分拣总数量
//    @Excel(name = "时间段")
    private String hours;  //时间段流量汇总功能  时间段
//    @Excel(name = "流量值")
    private String amount;  //时间段流量汇总功能  流量值

    public String getSum() {
        return sum;
    }

    public String getHours() {
        return hours;
    }

    public void setHours(String hours) {
        this.hours = hours;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public void setSum(String sum) {
        this.sum = sum;
    }

    public String getReadSum() {
        return readSum;
    }

    public void setReadSum(String readSum) {
        this.readSum = readSum;
    }

    public String getReadSuccess() {
        return readSuccess;
    }

    public void setReadSuccess(String readSuccess) {
        this.readSuccess = readSuccess;
    }

    public String getNoRead() {
        return noRead;
    }

    public void setNoRead(String noRead) {
        this.noRead = noRead;
    }

    public String getReadRate() {
        return readRate;
    }

    public void setReadRate(String readRate) {
        this.readRate = readRate;
    }


//    @Excel(name = "总数量")
    private String sumSorting;
//    @Excel(name = "读码率")
    private String percentRead;
//    @Excel(name = "分拣成功率")
    private String percentSorting;

    
//    @Excel(name = "回流数")
    private String exceptionSorting;
//    @Excel(name = "分拣失败")
    private String noreadSorting;
    

//	@Excel(name = "1-noread")
    private String case1;
//    @Excel(name = "2-多条码")
    private String case2;
//    @Excel(name = "3-请求失败")
    private String case38;
//    @Excel(name = "4-响应异常")
    private String successfulSorting;
//    @Excel(name = "5-wcs未收到请求")
    private String case9;
//    @Excel(name = "6-WCS未反馈目的地")
    private String case4;
//    @Excel(name = "7-满格")
    private String case6;
//    @Excel(name = "8-跟踪丢失")
    private String case8;

//    @Excel(name = "9-间距过小")
    private String case10;
//    @Excel(name = "11-其他")
    private String case11;
//    @Excel(name = "10-落格检测失败")
    private String case13;
//    @Excel(name = "所有间距过小数量")
    private String case28;


    public String getSumSorting() {
        return sumSorting;
    }

    public void setSumSorting(String sumSorting) {
        this.sumSorting = sumSorting;
    }

    public String getSuccessfulSorting() {
        return successfulSorting;
    }

    public void setSuccessfulSorting(String successfulSorting) {
        this.successfulSorting = successfulSorting;
    }

    public String getExceptionSorting() {
        return exceptionSorting;
    }

    public void setExceptionSorting(String exceptionSorting) {
        this.exceptionSorting = exceptionSorting;
    }

    public String getNoreadSorting() {
        return noreadSorting;
    }

    public void setNoreadSorting(String noreadSorting) {
        this.noreadSorting = noreadSorting;
    }

    public String getCase1() {
        return case1;
    }

    public void setCase1(String case1) {
        this.case1 = case1;
    }

    public String getCase2() {
        return case2;
    }

    public void setCase2(String case2) {
        this.case2 = case2;
    }

    public String getCase4() {
        return case4;
    }

    public void setCase4(String case4) {
        this.case4 = case4;
    }

    public String getCase6() {
        return case6;
    }

    public void setCase6(String case6) {
        this.case6 = case6;
    }

    public String getCase8() {
        return case8;
    }

    public void setCase8(String case8) {
        this.case8 = case8;
    }

    public String getCase9() {
        return case9;
    }

    public void setCase9(String case9) {
        this.case9 = case9;
    }

    public String getCase10() {
        return case10;
    }

    public void setCase10(String case10) {
        this.case10 = case10;
    }

    public String getCase11() {
        return case11;
    }

    public void setCase11(String case11) {
        this.case11 = case11;
    }

    public String getCase13() {
        return case13;
    }

    public void setCase13(String case13) {
        this.case13 = case13;
    }

    public String getCase28() {
        return case28;
    }

    public void setCase28(String case28) {
        this.case28 = case28;
    }

    public String getCase38() {
        return case38;
    }

    public void setCase38(String case38) {
        this.case38 = case38;
    }




    public String getPercentSorting() {
		return percentSorting;
	}

	public void setPercentSorting(String percentSorting) {
		this.percentSorting = percentSorting;
	}

	public String getPercentRead() {
		return percentRead;
	}

	public void setPercentRead(String percentRead) {
		this.percentRead = percentRead;
	}

}
